package com.scf.loanmanage.service.ServiceImp;

import com.scf.loanmanage.dao.RepaymentMapper;
import com.scf.loanmanage.entity.Repayment;
import com.scf.loanmanage.service.RepaymentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class RepaymentImpl implements RepaymentService {
    @Resource
    RepaymentMapper repaymentMapper;

    @Override
    public List<Repayment> selectAll(Integer pageIndex, Integer pageSize) {
        return repaymentMapper.selectAll(pageIndex,pageSize);
    }

    @Override
    public Integer selectcount() {
        return repaymentMapper.selectcount();
    }

    @Override
    public List<Repayment> selectByname(String enterprisename, String code) {
        return repaymentMapper.selectByname(enterprisename,code);
    }

    @Override
    public Repayment selectByReid(Integer reid) {
        return null;
    }

    @Override
    public void update(Integer reid, Double Interestpayable, Double exInterest) {

    }

    //查询所有



}
